package day07;

public class OverloadDemo {//重载
    public static void main(String[] args) {

        show();
        show("lisi",25);
        show("zhangsan");
        show(30);
        show(28,"wangwu");

    }
    public static void show(String name,int a){

    }
    public static void show(){}
    public static void show(int age){}
    public static void show(String name){}
    public static void show(int a,String name){}
    //重载与返回值类型无关 public static int show(){return 1;}
    //重载与参数名称无关public static void show(String address){}

}
